<template>
	<view class="witer">
		<view class="witer-item">
			发布请前往H5页面
		</view>
		<view class="witer-item">
			<button @click="goToRel('发布分类文章')" type="primary">发布分类文章</button>
		</view>
		<view class="witer-item">
			<button @click="goToRel('发布速记知识')" type="primary">发布速记知识</button>
		</view>
		<view class="witer-item">
			<button @click="goToRel('发布 UI 设计')" type="primary">发布 UI 设计</button>
		</view>
		<view class="witer-item">
			<button @click="goToRel('发布视频页面')" type="primary">发布视频页面</button>
		</view>
		<view class="witer-item">
			<button @click="goToRel('发布我的心情')" type="primary">发布我的心情</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			goToRel(res){
				uni.navigateTo({
					url:'../release/release?title='+ res
				})
			}
		}
	}
</script>

<style scoped lang="scss">

.witer-item{
	margin-top: 15px;
	button{
		margin: 0 15px;
		background-color: $my-bg-color;
	}
}
</style>
